data = load ('sin1.txt');
all=data(:,2);
for ii=1:size(all,1)
    all(ii)=all(ii)*(-1)^ii;
end

all_fft=abs(fft(all));
figure(1);
hold
AXIS([0 7200 0 5000000]);
plot(all_fft)
